<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>饮食文化</title>
<link href="/ria/default/global.css" type="text/css" rel="stylesheet" />
<link href="/ria/default/main.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="/ria/default/jquery.js"></script>
<script type="text/javascript" src="/ria/default/func.js" ></script>
<script type="text/javascript" src="/ria/default/main.js"></script>
<script type="text/javascript">
function addCookie()
{
 if (document.all)
    {
       window.external.addFavorite('<?php echo $_SERVER['HTTP_HOST']; ?>','<?php echo $title;?>');
    }
    else if (window.sidebar)
    {
       window.sidebar.addPanel('<?php echo $title;?>', '<?php echo $_SERVER['HTTP_HOST']; ?>', "");
 }
}

function setHomepage()
{
 if (document.all)
    {
        document.body.style.behavior='url(#default#homepage)';
  document.body.setHomePage('<?php echo $_SERVER['HTTP_HOST']; ?>');
 
    }
    else if (window.sidebar)
    {
    if(window.netscape)
    {
         try
   {  
            netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");  
         }  
         catch (e)  
         {  
    alert( "该操作被浏览器拒绝，如果想启用该功能，请在地址栏内输入 about:config,然后将项 signed.applets.codebase_principal_support 值该为true" );  
         }
    } 
    var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components. interfaces.nsIPrefBranch);
    prefs.setCharPref('browser.startup.homepage','<?php echo $_SERVER['HTTP_HOST']; ?>');
 }
}
</script>
</head>

<body>
<div class="top bg">
    <span class="left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
    <span class="right"><a href="javascript:void();" onclick="javascript:setHomepage();">设为首页</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="javascript:void();" onclick="javascript:addCookie();">加入收藏</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#">网站帮助</a></span>
</div>
<div class="main">
	<div class="bananer"><img src="/ria/default/bananer.jpg" width="980" height="180" alt="" /></div>
    <div class="topNav bg">
    	<ul>
        	<li class="li1"><a href="/">网站首页</a></li>
            <?php foreach($catalogList as $item):?>
            <?php if($item['pid']==0 && $item['isnavi']):?>
            <li class="li2"></li>
            <li class="li1"><a href="/catalog?id=<?php echo $item['id']; ?>"><?php echo $item['name'];?></a></li>
            <?php endif;?>
			<?php endforeach;?>
            
      </ul>
    </div>
    <div class="topSearch bg">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td>
            <form action="/search" method="get">站内文章搜索：
              <label>
              	
                <input type="text" name="key" id="textfield" class="textInput" />
                <input type="submit" name="button" id="search_btn" value="搜索" class="subBut" />
                
            </label></form></td>
            <td>
               您好，欢迎光临总装备部现代军营饮食文化网！</td>
          </tr>
        </table>
    </div>